package com.torry.workflow.service.wo.service;

import com.torry.workflow.api.wo.entity.ProcessNode;
import com.torry.workflow.api.wo.entity.WoInfo;

import java.util.List;

public interface IWorkOrderService {
    void convertToWo(List<String> contractServiceList, Integer processId, List<ProcessNode> nodes);

    void next(WoInfo wo);

    void cancelWo(WoInfo wo);

    void createTerminateWo(List<String> serviceList);

    void createInternalWo(List<String> serviceList);

    void rollbackWo(List<String> serviceList);
}
